﻿using DotNetty.Transport.Channels;

namespace DotNetty.Framework
{
    /// <summary>
    /// 执行任务上下文
    /// </summary>
    public class HandleDoWorkingContext
    {
        /// <summary>
        /// 渠道
        /// </summary>
        public string Channel { get; set; }

        /// <summary>
        /// 消息内容
        /// </summary>
        public AbstractMessage Message { get; set; }

        /// <summary>
        /// 当前通道
        /// </summary>
        public IChannelHandlerContext ChannelHandlerContext { get; set; }
    }
}
